 <!--:  
 var user = session["user"];
 var currentMenuId = nvl(menuId,0);
 //var menu = {"index"}

 -->
 
 <table width="874" border="0" cellspacing="3">
      <tr>
        <td width="62"><a href="index">首页</a></td>
        <td width="62"><strong><a href="newsservlet">新闻</a></strong></td>
        <td width="76"> <strong><a href="helpservlet">帮助</a></strong></td>
        
        
        <td width="391">
        <!--:if(user==null){  -->
        <form id="form1" name="form1" method="post" action="userservlet">        
        
          用户名
          <input name="name" type="text" id="user" size="15" maxlength="15" />
        密码
        <input name="password" type="password" id="user2" size="15" maxlength="15" />
        
        </td>
        <td width="255">
        <input type="submit" name="submit" id="submit" value="提交" />
        </form>
       
         
        <!--: }else{  -->
        欢迎登录  ${user.name},上次登录时间 ${user.lastLoginTime,dateFormat="yy-MM-dd HH:mm"}  ,<a href="${ctxPath}/userservlet?type=logout">退出</a>
        <!--: }  -->
        </td>
      </tr>
</table> 